//封装本地存储 函数
//封装操作token 的方法
const TOKEN_KEY = 'interview-h5-90'
//读
export const getToken = ()=>{
    return localStorage.getItem(TOKEN_KEY)
}
//存
export const setToken=(value)=>{
    localStorage.setItem(TOKEN_KEY,value)
}
//删
export const delToken = ()=>{
    localStorage.removeItem(TOKEN_KEY)
}